/* Поиск по аккаунту */
.custom-search {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 9px;
    
    margin-bottom: 20px;
    padding: 9px;
    width: 100%;

    border-radius: 5px;
    background: #7CB291;
}

.search_btn {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    
    border: none;
    border-radius: 3px;
    background: #5D9C75;
    
    transition: all .3s;
}

.search_btn:hover {
    background: #4b8762;
}

.custom-search__input {
    flex:  1 1 10%;
    padding: 12px;
    height: 48px;
    
    color: #000;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    
    border-radius: 3px;
    border: none;
    background: #FFF;
}

.custom-search__input::-moz-placeholder {
        font-style: italic;
}

.custom-search__input::placeholder {
        font-style: italic;
}

.custom-search__search-results-wrap {
    position: absolute;
    top: 60px;
    left: 9px;
    
    width: 100%;
    max-width: 845px;
    
    padding: 9px 16px;
    
    border-radius: 3px;
    border: 1px solid #EDEDED;
    background: #F7F7F7;
    
    
    z-index: 100020;
}

.custom-search__search-results {
    padding-right: 5px;
    height: auto;
    max-height: 300px;
    
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ffffff #7cb2aa;
}

.custom-search__search-results::-webkit-scrollbar {
    width: 6px;
    background-color: #7cb2aa;
}

.custom-search_search-results::-webkit-scrollbar-thumb {
    background-color: #ffffff;
    border-radius: 9em;
}

.custom-search__search-subtitle {
    display: block;
    margin-bottom: 15px;
    
    color: #1D1D1B;
    font-family: "Geologica", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    
}
.custom-search__search-subtitle:not(:first-child) {
    margin-top: 20px;
}

.custom-search__search-item {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    
    color: #1D1D1B;
    font-family: "Geologica", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    
    transition: all .3s;
}

.custom-search__search-item:hover {
    color: #7cb2aa;
}

.custom-search__search-item:hover,
.custom-search__search-item:active,
.custom-search__search-item:link,
.custom-search__search-item:visited {
    text-decoration: none;
}

.custom-search__search-item > div {
    display: flex;
    align-items: center;
    gap: 18px;
    
    width: 100%;
}


.custom-search__search-item .ScreenBlock__logo {
    flex: 0 0 40px;
    width: 40px !important;
    height: 40px;
}

.custom-search__search-item .ScreenBlock__logo > div {
    height: 100%;
    width: 100%;
    align-content: center;
    text-align: center;
    
    color: #FFF;
    font-family: "Geologica", sans-serif;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    
    border-radius: 3px;
    background-color: #7cb2aa !important;
}

.custom-search__search-item-descr {
    display: block;
    width: 100%;
    padding-left: 60px;
    
    color: rgba(0,0,0,0.5);
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.custom-search {
    position: relative;
}

.custom-search__search-results-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
}

.custom-search__search-item {
    display: block;
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.custom-search__search-item:hover {
    background: #f8f9fa;
}

@media (max-width: 1200px) {
    .custom-search__search-results-wrap {
        width: calc(100% - 75px) !important;
    }
}

@media (max-width: 400px) {
    .custom-search__search-item {
        font-size: 12px;
    }
    
    .custom-search__search-item-descr {
        font-size: 10px;
    }
}
